@import 'var.scss';
@import 'mixin.scss';
// 聚企业-首页-顶部大图
.jqy-topimg {
    width: 100%;
    min-width: 1200px;
}

// 聚企业-首页-标题
.jqy-title {
    font-size: 26px;
    color: $fc-base;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 20px;
    i {
        margin-right: 10px;
    }
    .more {
        position: absolute;
        right: 0;
        bottom: 20px;
        font-size: 14px;
        color: $fc-title-gray;
        span {
            margin-left: 3px;
        }
    }
}

// 聚企业-首页-最新入驻
.jqy-hot-wrap {
    display: flex;
    padding-bottom: 40px;
    .shop-list {
        display: flex;
        flex-wrap: wrap;
        background-color: #fff;
        height: 300px;
        .img-wrap {
            @include imgwrap(179px, 74px);
            border-right: 1px solid $border-gray;
            border-bottom: 1px solid $border-gray;
            &:nth-child(4n) {
                border-right: 0;
            }
            &:nth-last-child(1) {
                border-bottom: 0;
            }
            &:nth-last-child(2) {
                border-bottom: 0;
            }
            &:nth-last-child(3) {
                border-bottom: 0;
            }
            &:nth-last-child(4) {
                border-bottom: 0;
            }
        }
    }
}

// 聚企业-首页-最新入驻
.jqy-qiye-wrap {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 20px;
    .item {
        width: 346px;
        height: 280px;
        background: $bg-white;
        margin-bottom: 20px;
        margin-right: 21px;
        padding: 0 20px;
        &:nth-child(3n) {
            margin-right: 0px;
        }
        .item-title {
            display: flex;
            padding-top: 20px;
            padding-bottom: 24px;
            border-bottom: 1px solid $border-gray;
            .item-title-logo {
                width: 60px;
                height: 60px;
                border-radius: 50%;
                overflow: hidden;
                border: 2px solid #fbfbfb;
                margin-right: 12px;
                display: flex;
                justify-content: center;
                align-items: center;
                img {
                    width: 100%;
                }
            }
            .item-title-text {
                &>h1 {
                    font-size: 16px;
                    color: $fc-base;
                    padding-top: 10px;
                    padding-bottom: 16px;
                }
                &>p {
                    font-size: 14px;
                    color: $fc-gray;
                    display: flex;
                    i {
                        margin-right: 7px;
                    }
                }
            }
        }
        &>p {
            height: 100px;
            box-sizing: border-box;
            line-height: 20px;
            font-size: 12px;
            color: #555;
            padding-top: 16px;
        }
        .item-btn {
            display: flex;
            justify-content: flex-end;
            a {
                width: 110px;
                height: 40px;
                line-height: 36px;
                box-sizing: border-box;
                text-align: center;
                border: 2px solid $border-blue;
                font-size: 16px;
                color: $fc-blue;
                cursor: pointer;
                margin-left: 20px;
            }
        }
    }
}

//聚企业_企业详情
.jqiye_details {
    &>.top-bg {
        background: #32384a;
        .top {
            height: 200px;
            display: flex;
            justify-content: space-between;
            background: url(../img/jqy_details_top_bg.png);
            .top-left {
                display: flex;
                margin-top: 40px;
                .top-left-logo {
                    width: 100px;
                    height: 100px;
                    border-radius: 50%;
                    overflow: hidden;
                    margin-right: 40px;
                    background: $bg-white;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }
                .top-left-text {
                    &>h1 {
                        font-size: 22px;
                        color: $fc-white;
                        padding-bottom: 22px;
                    }
                    &>p {
                        display: flex;
                        font-size: 14px;
                        color: $fc-gray;
                        padding-bottom: 12px;
                        i {
                            margin-right: 12px;
                        }
                    }
                }
            }
            .top-right {
                display: flex;
                margin-top: 84px;
                .top-right-btn {
                    margin-left: 20px;
                    width: 90px;
                    height: 30px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    border: 1px solid $border-white;
                    box-sizing: border-box;
                    font-size: 14px;
                    color: $fc-white;
                    cursor: pointer;
                    i {
                        margin-right: 6px;
                    }
                }
            }
        }
    }
    &>h1 {
        font-size: 22px;
        color: $fc-base;
        line-height: 26px;
        border-left: 5px solid $border-blue;
        text-indent: 10px;
        margin-top: 40px;
        margin-bottom: 18px;
    }
    .goods-box {
        padding-top: 30px;
        padding-left: 10px;
    }
    .pinpai-box {
        padding-top: 30px;
        padding-left: 30px;
        padding-bottom: 10px;
    }
    .jqiye_details-con_bg {
        border: 1px solid #eaedf4;
        box-sizing: border-box;
        background: #fcfcfc;
        min-height: 150px;
        display: flex;
        flex-wrap: wrap;
        &>p {
            font-size: 14px;
            color: $fc-gray;
            line-height: 30px;
            padding: 12px 20px 0 20px;
        }
        .goods {
            margin-left: 20px;
            .godds-img {
                position: relative;
                overflow: hidden;
                width: 210px;
                height: 210px;
                img {
                    display: block;
                }
                &>p {
                    position: absolute;
                    left: 0px;
                    bottom: 0px;
                    width: 130px;
                    height: 36px;
                    line-height: 36px;
                    background: rgba(0, 0, 0, .5);
                    font-size: 16px;
                    color: #fefefe;
                    text-indent: 20px;
                }
            }
            &>h1 {
                font-size: 14px;
                color: $fc-base;
                text-align: center;
                margin-top: 20px;
                margin-bottom: 28px;
            }
        }
        .pinpai {
            margin-right: 20px;
            margin-bottom: 20px;
            width: 210px;
            height: 120px;
            border: 1px solid #eaedf4;
            box-sizing: border-box;
            background: $bg-white;
            display: flex;
            flex-direction: column;
            align-items: center;
            img {
                margin-top: 14px;
            }
            p {
                font-size: 14px;
                color: $fc-gray;
                margin-top: 10px;
            }
        }
    }
    //工商信息
    .msg_table {
        margin-bottom: 60px;
        width: 100%;
        box-sizing: border-box;
        tr {
            border-top: 1px solid #eaedf4;
            border-left: 1px solid #eaedf4;
            td {
                border-right: 1px solid #eaedf4;
                border-bottom: 1px solid #eaedf4;
                font-size: 14px;
                line-height: 50px;
                color: $fc-gray;
                text-indent: 30px;
                &:nth-child(2n-1) {
                    width: 200px;
                    background: #fcfcfc;
                }
                &:nth-child(2n) {
                    width: 400px;
                    background: #fff;
                }
            }
        }
    }
}

// 聚企业-企业列表
.jqy-list {
    display: flex;
    flex-wrap: wrap;
    .jqy-item {
        border: 1px solid $border-gray;
        padding: 60px 0;
        margin-right: 20px;
        margin-bottom: 20px;
        width: 283px;
        display: flex;
        flex-direction: column;
        align-items: center;
        &:nth-child(4n) {
            margin-right: 0;
        }
        .logo {
            border: 2px solid $border-gray;
            border-radius: 50%;
            overflow: hidden;
            @include imgwrap(136px, 136px);
        }
        .name {
            font-size: 18px;
            color: $fc-base;
            margin: 50px 0 20px 0;
            text-align: center;
        }
        .love {
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            i {
                margin-right: 8px;
            }
        }
    }
}